.class public Les/qf0;
.super Les/nf0;
.source "DocumentInfoDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/qf0$c;
    }
.end annotation


# instance fields
.field private b:Ljava/lang/CharSequence;

.field private c:Ljava/lang/CharSequence;

.field private d:Lcom/jecelyin/editor/v2/ui/a;

.field private e:Les/qf0$c;

.field private f:Lcom/jecelyin/common/widget/dialog/a;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/nf0;-><init>(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic a(Les/qf0;)Lcom/jecelyin/common/widget/dialog/a;
    .locals 0

    .line 1
    iget-object p0, p0, Les/qf0;->f:Lcom/jecelyin/common/widget/dialog/a;

    return-object p0
.end method

.method static synthetic a(Les/qf0;Lcom/jecelyin/common/widget/dialog/a;)Lcom/jecelyin/common/widget/dialog/a;
    .locals 0

    .line 2
    iput-object p1, p0, Les/qf0;->f:Lcom/jecelyin/common/widget/dialog/a;

    return-object p1
.end method

.method static synthetic b(Les/qf0;)Ljava/lang/CharSequence;
    .locals 0

    .line 1
    iget-object p0, p0, Les/qf0;->c:Ljava/lang/CharSequence;

    return-object p0
.end method

.method static synthetic c(Les/qf0;)Les/qf0$c;
    .locals 0

    .line 1
    iget-object p0, p0, Les/qf0;->e:Les/qf0$c;

    return-object p0
.end method

.method private d()V
    .locals 2

    .line 1
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Les/qf0$b;

    invoke-direct {v1, p0}, Les/qf0$b;-><init>(Les/qf0;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 2
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    return-void
.end method


# virtual methods
.method public a(Lcom/jecelyin/editor/v2/ui/a;)V
    .locals 0

    .line 4
    iput-object p1, p0, Les/qf0;->d:Lcom/jecelyin/editor/v2/ui/a;

    return-void
.end method

.method public a(Ljava/lang/CharSequence;)V
    .locals 0

    .line 3
    iput-object p1, p0, Les/qf0;->b:Ljava/lang/CharSequence;

    return-void
.end method

.method public b(Ljava/lang/CharSequence;)V
    .locals 0

    .line 2
    iput-object p1, p0, Les/qf0;->c:Ljava/lang/CharSequence;

    return-void
.end method

.method public c()V
    .locals 8

    .line 2
    iget-object v0, p0, Les/nf0;->a:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/jecelyin/editor/v2/k;->je_document_info:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 3
    new-instance v1, Les/qf0$c;

    invoke-direct {v1, v0}, Les/qf0$c;-><init>(Landroid/view/View;)V

    iput-object v1, p0, Les/qf0;->e:Les/qf0$c;

    .line 4
    iget-object v1, v1, Les/qf0$c;->a:Landroid/widget/TextView;

    iget-object v2, p0, Les/nf0;->a:Landroid/content/Context;

    sget v3, Lcom/jecelyin/editor/v2/m;->je_path_x:I

    const/4 v4, 0x1

    new-array v5, v4, [Ljava/lang/Object;

    iget-object v6, p0, Les/qf0;->b:Ljava/lang/CharSequence;

    if-nez v6, :cond_0

    const-string v6, ""

    :cond_0
    const/4 v7, 0x0

    aput-object v6, v5, v7

    invoke-virtual {v2, v3, v5}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 5
    iget-object v1, p0, Les/qf0;->e:Les/qf0$c;

    iget-object v1, v1, Les/qf0$c;->d:Landroid/widget/TextView;

    iget-object v2, p0, Les/nf0;->a:Landroid/content/Context;

    sget v3, Lcom/jecelyin/editor/v2/m;->je_char_x:I

    new-array v5, v4, [Ljava/lang/Object;

    iget-object v6, p0, Les/qf0;->c:Ljava/lang/CharSequence;

    invoke-interface {v6}, Ljava/lang/CharSequence;->length()I

    move-result v6

    invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v6

    aput-object v6, v5, v7

    invoke-virtual {v2, v3, v5}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 6
    iget-object v1, p0, Les/qf0;->e:Les/qf0$c;

    iget-object v1, v1, Les/qf0$c;->b:Landroid/widget/TextView;

    iget-object v2, p0, Les/nf0;->a:Landroid/content/Context;

    sget v3, Lcom/jecelyin/editor/v2/m;->je_encoding_x:I

    new-array v5, v4, [Ljava/lang/Object;

    iget-object v6, p0, Les/qf0;->d:Lcom/jecelyin/editor/v2/ui/a;

    invoke-virtual {v6}, Lcom/jecelyin/editor/v2/ui/a;->a()Ljava/lang/String;

    move-result-object v6

    aput-object v6, v5, v7

    invoke-virtual {v2, v3, v5}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    iget-object v1, p0, Les/qf0;->e:Les/qf0$c;

    iget-object v1, v1, Les/qf0$c;->e:Landroid/widget/TextView;

    iget-object v2, p0, Les/nf0;->a:Landroid/content/Context;

    sget v3, Lcom/jecelyin/editor/v2/m;->je_line_number_x:I

    new-array v4, v4, [Ljava/lang/Object;

    iget-object v5, p0, Les/qf0;->d:Lcom/jecelyin/editor/v2/ui/a;

    invoke-virtual {v5}, Lcom/jecelyin/editor/v2/ui/a;->c()I

    move-result v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v4, v7

    invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 8
    iget-object v1, p0, Les/qf0;->e:Les/qf0$c;

    iget-object v1, v1, Les/qf0$c;->c:Landroid/widget/TextView;

    iget-object v2, p0, Les/nf0;->a:Landroid/content/Context;

    sget v3, Lcom/jecelyin/editor/v2/m;->progress_loading:I

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 9
    invoke-virtual {p0}, Les/nf0;->a()Lcom/jecelyin/common/widget/dialog/a$c;

    move-result-object v1

    sget v2, Lcom/jecelyin/editor/v2/m;->je_document_info:I

    invoke-virtual {v1, v2}, Lcom/jecelyin/common/widget/dialog/a$c;->f(I)Lcom/jecelyin/common/widget/dialog/a$c;

    invoke-virtual {v1, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->a(Landroid/view/View;)Lcom/jecelyin/common/widget/dialog/a$c;

    sget v0, Lcom/jecelyin/editor/v2/m;->action_close:I

    .line 10
    invoke-virtual {v1, v0}, Lcom/jecelyin/common/widget/dialog/a$c;->b(I)Lcom/jecelyin/common/widget/dialog/a$c;

    .line 11
    invoke-virtual {v1}, Lcom/jecelyin/common/widget/dialog/a$c;->c()Lcom/jecelyin/common/widget/dialog/a;

    move-result-object v0

    iput-object v0, p0, Les/qf0;->f:Lcom/jecelyin/common/widget/dialog/a;

    if-nez v0, :cond_1

    return-void

    .line 12
    :cond_1
    new-instance v1, Les/qf0$a;

    invoke-direct {v1, p0}, Les/qf0$a;-><init>(Les/qf0;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 13
    iget-object v0, p0, Les/qf0;->f:Lcom/jecelyin/common/widget/dialog/a;

    invoke-virtual {p0, v0}, Les/nf0;->a(Lcom/jecelyin/common/widget/dialog/a;)V

    .line 14
    invoke-direct {p0}, Les/qf0;->d()V

    return-void
.end method
